using System;

using Peradigm.Framework.Persistence;

namespace Liberty.Domain.Kernel
{
    [Serializable]
    public class State : ReferenceValue
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        /// <summary>
        /// Represents state.
        /// </summary>
        /// <returns></returns>
        [Obsolete( "Remove this test instance from use" )]
        public static State TestInstance()
        {
            return new State( 51, State.NEW_VERSION, "TX", 51, true );
        }
        #endregion

        #region Properties
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public State( string description, long ranking, bool active )
            : base( description, ranking, active )
        {
        }

        public State( long oid, byte[] rowLock, string description, long ranking, bool active )
            : base( oid, rowLock, description, ranking, active )
        {
        }
        #endregion

        #region Data Elements
        #endregion
    }
}
